package com.ev.apis.model;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;


@Data
public class AslDsResultResponse {
    private int pageno;
    private int pagesize;
    private int totalPages;
    private int totalRows;
    private String searchKey;
    private String keyword;
    private JSONObject datas;

    public AslDsResultResponse() {
    }

    public AslDsResultResponse(int pageno, int pagesize, int totalRows, JSONObject datas) {
        this.pageno = pageno;
        this.pagesize = pagesize;
        this.totalPages = (totalRows + pagesize - 1) / pagesize;
        this.totalRows = totalRows;
        this.datas = datas;
    }
    
}
